ParameterFilterElement.AllRuleParametersApplicable
Description:
Checks that the parameters of the given ElementFilter (representing a combination of rules) are valid for the given set of categories.
Checks that the parameters of the given ElementFilter (representing a combination of rules) are valid for the given set of categories.
Overloads (2):
AllRuleParametersApplicable(Document,ICollection[ElementId],ElementFilter)
public static bool AllRuleParametersApplicable(
Document aDocument,
ICollection<ElementId> categories,
ElementFilter elementFilter
)
-
aDocumentThe document containing the filter, categories, and parameters involved in this validation.
-
ICollection<ElementId>categoriesThe set of categories against which to check the rule parameters.
-
elementFilterThe ElementFilter representing the combination of rules to check.
Return Value
Boolean
True if all the parameters of the given rules are valid for this filter, otherwise false.
-
A non-optional argument was null